A5WS_Delete_User Function

Syntax

Result_Flag as L = a5ws_Delete_User(C user_value [,* Localrequest ])

Arguments

Result_Flag

.T. = The user was deleted. .F. = The user was not deleted.

user_value

A unique user value assigned to a user in the web security system. It can be a user 'guid' or a user 'userid'.

Localrequest

Optional. The Request system variable. It is added automatically by the server when run from a web page.

Description

Delete a web security user in the current project. User_value can be a user 'guid' or a user 'userid'. 'Request' pointer must be provided if run in web page.

Discussion

The A5WS_Delete_User() deletes a user identified by the user value from the web security system. User_value can be a user 'guid' or a user 'userid'. If the user value is not found, the Result_Flag will return 'False'. Request is added automatically by the server when run from a web page.

Example

?a5ws_Delete_User("[email protected]")
 = .T.

Limitations

Web applications only.

See Also